package com.cyper.mvnbook.account.persist;

/**
 * Created by cyper on 11/21/14.
 */
public interface AccountPersistService {
    Account createAccount(Account account) throws AccountPersistException;

    Account readAccount(String id) throws AccountPersistException;

    Account updateAccount(Account account) throws AccountPersistException;

    void deleteAccount(String id) throws AccountPersistException;
}
